home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / prisa.6 < prev    next >
Text File  |  1996-07-16  |  2KB  |  40 lines

  1. .TH PRISA
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. PRISA
  5.  
  6.  
  7.  
  8.  ListType PRISA( SurfaceType Srfs, NumericType SamplesPerCurve,
  9.                  NumericType Epsilon, ConstantType Dir, VectorType Space )
  10.  
  11. Computes a layout (prisa) of the given surface(s) Srfs, and returns
  12. a list of surface objects representing the layout.
  13. The surface is approximated to within Epsilon in direction Dir
  14. into a set of ruled surfaces and then developable surfaces that are laid out
  15. flat onto the XY plane. If Epsilon is negative, the piecewise ruled
  16. surface approximation in 3-space is returned. 
  17. SamplesPerCurve controls the piecewise linear approximation of the
  18. boundary of the ruled/developable surfaces. Space is a vector whose
  19. X component controls the space between the different surfaces' layout, and
  20. whose Y component controls the space between different layout pieces.
  21.  
  22. Example:
  23.  
  24.  cross = cbspline( 3,
  25.                    list( ctlpt( E3, 0.7, 0.0, 0. ),
  26.                          ctlpt( E3, 0.7, 0.0, 0.06 ),
  27.                          ctlpt( E3, 0.1, 0.0, 0.1 ),
  28.                          ctlpt( E3, 0.1, 0.0, 0.6 ),
  29.                          ctlpt( E3, 0.6, 0.0, 0.6 ),
  30.                          ctlpt( E3, 0.8, 0.0, 0.8 ),
  31.                          ctlpt( E3, 0.8, 0.0, 1.4 ),
  32.                          ctlpt( E3, 0.6, 0.0, 1.6 ) ),
  33.                    list( KV_OPEN ) );
  34.  wglass = surfrev( cross );
  35.  wgl_ruled = PRISA( wglass, 6, -0.1, COL, vector( 0, 0.25, 0.0 ) );
  36.  wgl_prisa = PRISA( wglass, 6, 0.1, COL, vector( 0, 0.25, 0.0 ) );
  37.  
  38. Computes a layout of a wine glass in wgl_prisa and a three-dimensional
  39. ruled surface approximation of wglass in wgl_ruled.
  40.